package com.castle.fortress.admin.temp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.castle.fortress.admin.temp.entity.TempTreeEntity;
import com.castle.fortress.admin.temp.dto.TempTreeDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.Map;
import java.util.List;

/**
 * 生成树示例 服务类
 *
 * @author 
 * @since 2023-08-03
 */
public interface TempTreeService extends IService<TempTreeEntity> {

    /**
     * 分页展示生成树示例列表
     * @param page
     * @param tempTreeDto
     * @return
     */
    IPage<TempTreeDto> pageTempTree(Page<TempTreeDto> page, TempTreeDto tempTreeDto);


    /**
     * 展示生成树示例列表
     * @param tempTreeDto
     * @return
     */
    List<TempTreeDto> listTempTree(TempTreeDto tempTreeDto);

}
